package com.quanyan.user.model.vo.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Created by yue.yuan on 2016/6/28.
 */
public class ReqUserInterest implements Serializable {

    @NotNull
    @Max(2)
    @Min(1)
    private Integer userType;//1游客，2注册用户

    private String dsn;

    private List<Integer> interestIds;

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getDsn() {
        return dsn;
    }

    public void setDsn(String dsn) {
        this.dsn = dsn;
    }

    public List<Integer> getInterestIds() {
        return interestIds;
    }

    public void setInterestIds(List<Integer> interestIds) {
        this.interestIds = interestIds;
    }

    @Override
    public String toString() {
        return "ReqUserInterest{" +
                "userType=" + userType +
                ", dsn='" + dsn + '\'' +
                ", interestIds=" + interestIds +
                '}';
    }
}
